package com.ziyucoding.springboot.labs.lab3.rocketmqdemo.message;

/**
 * 示例6的消息（用于顺序消息）
 *
 * @author ziyucoding
 * @date 2022-10-24
 **/
public class Demo6Message {

    public static final String TOPIC = "demo_6_orderly";

    /**
     * 编号
     */
    private Integer id;

    public Demo6Message() {
    }

    public Demo6Message(Integer id) {
        this.id = id;
    }

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    @Override
    public String toString() {
        return "Demo6Message{" +
                "id=" + id +
                '}';
    }
}
